﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace MusicExplorer.View
{
    /// <summary>
    /// Logique d'interaction pour DetailTree.xaml
    /// </summary>
    public partial class DetailTree : UserControl
    {
        public DetailTree()
        {
            InitializeComponent();
        }

        private void TextBlock_MouseWheel_1(object sender, MouseWheelEventArgs e)
        {
            //var parent = VisualTreeHelper.GetParent(sender as DependencyObject);
            //while (!(parent is ScrollViewer))
            //    parent = VisualTreeHelper.GetParent(parent);
            //(parent as Scroll).ScrollToBottom();//e.Delta);
        }
    }
}
